package org.webcamp.questionary.dto;

import javax.xml.bind.annotation.XmlAttribute;

public class Answer {

	private String text;
	private boolean correct;
	
	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	@XmlAttribute
	public boolean isCorrect() {
		return correct;
	}

	public void setCorrect(boolean correct) {
		this.correct = correct;
	}
}
